package org.wdcode.base.interfaces.action;

/**
 * 通用查询Action接口
 * @author WD
 * @since JDK6
 * @version 1.0 2009-09-23
 */
public interface QueryAction {
	/**
	 * 查询所有
	 * @return 跳转
	 * @throws Exception
	 */
	String all() throws Exception;

	/**
	 * 分页查询
	 * @return 跳转
	 * @throws Exception
	 */
	String page() throws Exception;

	/**
	 * 实体条件查询出所有
	 * @return 跳转
	 * @throws Exception
	 */
	String entity() throws Exception;

	/**
	 * 跳转到添加页
	 * @return 跳转
	 * @throws Exception
	 */
	String add() throws Exception;

	/**
	 * 跳转到修改页
	 * @return 跳转
	 * @throws Exception
	 */
	String edit() throws Exception;

	/**
	 * 跳转到删除页
	 * @return 跳转
	 * @throws Exception
	 */
	String del() throws Exception;

	/**
	 * 跳转到列表页
	 * @return 跳转
	 * @throws Exception
	 */
	String list() throws Exception;
}
